<template>
	<div class="mine_information_region">
		<!--头部begin-->
		<div class="region_head">
			<router-link to="../../mine/information/"><i class="region_head_down"></i></router-link>
			<span class="region_head_str">设置地区</span>
		</div>
		<!--头部end-->
		<div class="region_container">
			<div class="current_city">
				<p>当前城市</p>
				<!--v-bind:city="cityGPS"-->
				<p>{{city}}</p>
			</div>
			<div class="hot_city">
				<p>热门城市</p>
				<ul>
					<li>北京</li>
					<li>上海</li>
					<li>深圳</li>
					<li>香港</li>
				</ul>
			</div>
			<div class="all_city">
				<p>全部城市</p>
				<ul>
					<li>北京</li>
					<li>上海</li>
					<li>深圳</li>
					<li>香港</li>
				</ul>
			</div>
		</div>
	</div>

</template>

<script>
	export default {
		name:"mine_information",
		data(){
			return {

			}
		},
		methods:{
			hehe(){
				console.log(this.value)
			}
		},
		props:{
			city: String
//			cityGPS:{
//				type: String,
//			    validator: function (value) {
//			    	console.log(1)
//			    	console.log(value)
//		        this.city=value;
//		      }
//			}
		}
	}

</script>

<style lang="less" scoped>
.mine_information_region{
    background: #f2eef9;
    width: 640/64rem;
    overflow: hidden;
    .region_head{
        width:640/64rem;
        margin:0 auto;
        height:130/64rem;
        text-align:center;
        padding-top:68/64rem;
        box-sizing: border-box;
        background: #A54BE8;
        .region_head_str{
            font-size:36/64rem;
            color:#fff;
            display: inline-block;
            margin-left: -55/64rem;
            margin-top: 0/64rem;
        }
        .region_head_down{
            float:left;
            display:inline_block;
            background: url(../../../static/images/4/f-1.png) no-repeat;
            background-size:100% 100%;
            width:20/64rem;
            height:35/64rem;
            line-height:35/64rem;
            margin-left: 37/64rem;
        }
    }
}
.region_container{
    background: #e5e0ed;
   .current_city{
       p:first-child{
           color: #a54be8;
           font-size: 24/64rem;
           margin-left: 34/64rem;
           height: 40/64rem;
           line-height: 40/64rem;
       }
       p:last-child{
           height: 80/64rem;
           line-height: 80/64rem;
           background: #f2eef9;
           padding-left: 34/64rem;
           font-size: 30/64rem;
           color: #000000;
       }
   }
   .hot_city,.all_city{
        p:first-child{
           color: #a54be8;
           font-size: 24/64rem;
           margin-left: 34/64rem;
           height: 40/64rem;
           line-height: 40/64rem;
       }
       ul{
           background: #f2eef9;
           padding-left: 20/64rem;
           li{
               height: 80/64rem;
               line-height: 80/64rem;
               padding-left: 14/64rem;
               font-size: 30/64rem;
               color: #000000;
               border-bottom: 2px solid #e5e0ed;
           }
       }
   }
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body,
p,
ul,
ol,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
}

input,
textarea,
select {
	padding: 0;
	border: 1px solid #ccc;
	outline: 0;
	font-size: 100%;
}

i {
	font-style: normal;
}

b {
	font-weight: normal;
}

ul,
ol {
	padding-left: 0;
	list-style: none;
}

a {
	text-decoration: none;
}

a,
img {
	-webkit-user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.wrap{
	width: 1000px;
	margin: 0 auto;
}
.clearfix:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}
body{
	font-family: "微软雅黑";
}
</style>